package com.agriculture.competition.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.agriculture.common.core.annotation.Excel;
import com.agriculture.common.core.web.domain.BaseEntity;

/**
 * 参赛人员对象 ja_competition_user
 * 
 * @author agriculture
 * @date 2024-11-12
 */
public class JaCompetitionUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 中文名 */
    @Excel(name = "中文名")
    private String nickUser;

    /** 参赛人主键id */
    @Excel(name = "参赛人主键id")
    private Long userId;

    /** 比赛主键id */
    @Excel(name = "比赛主键id")
    private Long competitionId;

    /** 方案主键id */
    @Excel(name = "方案主键id")
    private Long solutionId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUser;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setNickUser(String nickUser) 
    {
        this.nickUser = nickUser;
    }

    public String getNickUser() 
    {
        return nickUser;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCompetitionId(Long competitionId) 
    {
        this.competitionId = competitionId;
    }

    public Long getCompetitionId() 
    {
        return competitionId;
    }
    public void setSolutionId(Long solutionId) 
    {
        this.solutionId = solutionId;
    }

    public Long getSolutionId() 
    {
        return solutionId;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("nickUser", getNickUser())
            .append("userId", getUserId())
            .append("competitionId", getCompetitionId())
            .append("solutionId", getSolutionId())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
